package com.tencent.qf.web.config;

import com.tencent.qf.system.api.OperateLogApi;
import com.tencent.qf.web.service.operatelog.OperateLogWebService;
import com.tencent.qf.web.service.operatelog.impl.OperateLogWebServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Copyright (C) 2022 Limited, a Tencent company. All rights reserved.
 *
 * @author p_htaozhou@tencent.com
 * @create: 2022/9/13 16:50
 */
@Configuration
public class OperateLogAutoConfiguration {

    @Bean
    public OperateLogWebService getOperateLogService(OperateLogApi operateLogApi) {
        return new OperateLogWebServiceImpl(operateLogApi);
    }
}
